package top.hiai.model.base;

import com.jfinal.plugin.activerecord.IBean;
import com.jfinal.plugin.activerecord.Model;

/**
* @Author www.hiai.top
* @Email  goodsking@163.com
* @Message 更多资源尽在www.hiai.top,开发者：黄康权
* @Introduction 类的介绍
*/

@SuppressWarnings("serial")
public abstract class LinkBase<M extends LinkBase<M>> extends Model<M> implements IBean {

	@SuppressWarnings("unchecked")
	public M setLid(java.lang.Integer lid) {
		set("lid", lid);
		return (M)this;
	}
	
	public java.lang.Integer getLid() {
		return getInt("lid");
	}
	
	@SuppressWarnings("unchecked")
	public M setName(java.lang.String name) {
		set("name", name);
		return (M)this;
	}
	
	public java.lang.String getName() {
		return getStr("name");
	}
	
	@SuppressWarnings("unchecked")
	public M setUrl(java.lang.String url) {
		set("url", url);
		return (M)this;
	}
	
	public java.lang.String getUrl() {
		return getStr("url");
	}
	
	public M setSort(java.lang.Integer sort) {
		set("sort", sort);
		return (M)this;
	}

	public java.lang.Integer getSort() {
		return getInt("sort");
	}
}
